home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0399 / 372 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  2.9 KB

  1. Subject: Re: Fast serial (was: misc kernel patches... (mostly tty stuff))
  2. Date: Wed, 14 Jul 93 16:21:46 CES
  3. From: Juergen Lock <nox@jelal.north.de>
  4. In-Reply-To: <9307122110.AA04284@terminator.rs.itd.umich.edu>; from "Nicholas S Castellano" at Jul 12, 93 5:10 pm
  5. Message-Id: <9307141421.AA00212@jelal.north.de>
  6.  
  7. Nicholas S Castellano writes:
  8.  
  9. > > and i still think that MiNT needs better ways to do fast RAW serial IO,
  10. > >access modem control lines and speeds >19200, change Iorec buffer sizes,
  11. > >etc.. but i'll repeat that only if you want it. :-)
  12. > I agree...But I think most of this can be done with a standalone modem
  13. > driver as opposed to being in the kernel.
  14.  
  15.  ok!  but that still requires changes in MiNT.  for example currently it
  16. seems a 1K tty read gets _always_ translated into 1000 device reads of
  17. each one char, that just cant be fast no matter how good the driver is...
  18. and to get it real fast such a driver would also need a way to tell
  19. MiNT that it reads and writes bytes, not longs.  then it could get a
  20. RAW 1K read or write as that and just bcopy the data. (and also sleep
  21. gracefully when it waits for more than a few bytes to go over the port
  22. so it doesn't have to waste so much CPU time...)
  23.  
  24.  or things like TIOCCAR/CLOCAL, HUPCL.. they probably need some help
  25. from the kernel too.
  26.  
  27. >  I've been thinking recently
  28. > that most of my TOS 1.0 hacks in MiNT's rsconf() code should really be
  29. > in a standalone device driver as well (especially since that code
  30. > still doesn't work terribly well.)
  31.  
  32.  well either this, or just forget about those 1001 TOS bugs and tell
  33. people to use one of the serial port fix TSRs available, some of them
  34. now even work. :)
  35.  
  36.  and for a standalone modem driver rsconf (and iorec) would better just
  37. translate their parameters into device ioctls, right?
  38.  
  39. > In one of my conversations about the serial port with someone (I think
  40. > it was someone on this list) I was told that there was already a
  41. > driver along these lines that was mostly completed, but I haven't
  42. > heard anything about it since then.
  43.  
  44.  hmm i hope you don't mean me :) i only have a hacked serptch2 to
  45. replace buggy TOS routines, ([Bx]co*, Rcsonf, Ioctl...) but it doesn't
  46. know about MiNT.  the fast IO stuff i did for taylor uucp does it all
  47. itself... (and it has to `guess' the physical device with ttyname
  48. because i found no other way to get it from an fd)  but of course it
  49. could be useful for writing such a driver... its in tuu103d3.zoo on a.a,
  50. look at the diffs for sys2.c.
  51.  
  52.  other than that i only know of someone who seems to hate MiNT so much
  53. that he wrote a fast driver that tries to act like MiNT, but for TOS!
  54. (looks for Fopen ("u:\dev\modem1"..) and then handles Fread/Fwrite
  55. itself or so...  i guess if you could read all those maus news you'd
  56. sometimes just shake your head... :-)
  57.  
  58.  cheers
  59.     Juergen
  60. -- 
  61. J"urgen Lock / nox@jelal.north.de / UUCP: ..!uunet!unido!uniol!jelal!nox
  62.                                 ...ohne Gewehr
  63. PGP public key fingerprint =  8A 18 58 54 03 7B FC 12  1F 8B 63 C7 19 27 CF DA 
  64.